app: extract GtkApplicationAccels private class
authorSébastien Wilmet <swilmet@gnome.org>
Mon, 11 Apr 2016 15:13:09 +0000 (17:13 +0200)
committerSébastien Wilmet <swilmet@gnome.org>
Fri, 22 Apr 2016 10:39:18 +0000 (12:39 +0200)
commitbce4a0abdefa01a10c43da09c10a3526d2d03941
tree89f6e55d9e8db9ee63304c587e8ecbf45e72c160
parente0c34fd028e249e5a52d2c8d90590c737f2aac4d
app: extract GtkApplicationAccels private class

This has several benefits:
- Less code in GtkApplication. The accels handling is something
  self-contained, and GtkApplication now delegates the work.
- For the accels functions, there is now a distinction between static
  functions and functions in the gtkapplicationaccelsprivate.h header,
  which makes the code easier to understand, because we have a good
  overview just by reading the header.
- The struct _GtkApplicationPrivate is now easier to find instead of
  being in the middle of the file.

https://bugzilla.gnome.org/show_bug.cgi?id=764879
docs/reference/gtk/Makefile.am
gtk/Makefile.am
gtk/gtkapplication.c
gtk/gtkapplicationaccels.c [new file with mode: 0644]
gtk/gtkapplicationaccelsprivate.h [new file with mode: 0644]